from django.urls import path
from .views import get_build_by_id, submit_user_data, stream, set_key_value, message_add, chat, get_all_messages, \
    delete_message, get_case_page, get_case_by_id

urlpatterns = [
    path('build/<str:build_id>/<int:page>/<int:size>/', get_build_by_id, name='get_build_by_id'),
    path('submit_user_data/', submit_user_data, name='submit_user_data'),
    path('stream/', stream, name='stream'),
    path('stop/', set_key_value, name='set_key_value'),
    path('add/', message_add, name='message_add'),
    path('chat/', chat, name='chat'),
    path('list/', get_all_messages, name='get_all_messages'),
    path('delete/', delete_message, name='delete_message'),
    path('case/page/', get_case_page, name='get_case_page'),
    path('case/<str:case_id>/', get_case_by_id, name='get_case_by_id'),

]
